/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package interfaces;

/**
 *
 * @author Jordyson
 */
public class TelaConsultaQuarto extends javax.swing.JInternalFrame {

    /**
     * Creates new form JInternalFrameConsultaQuarto
     */
    public TelaConsultaQuarto() {
        initComponents();
    }

    /**
     * This method is called from within the constructor to initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is always
     * regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        jLabel1 = new javax.swing.JLabel();
        jComboBox1 = new javax.swing.JComboBox();
        jbConsultarQuarto = new javax.swing.JButton();
        jbFechar = new javax.swing.JButton();

        setClosable(true);
        setIconifiable(true);
        setMaximizable(true);
        setResizable(true);
        setTitle("Consulta de Quartos");
        getContentPane().setLayout(null);

        jLabel1.setText("Selecione a Opção : ");
        getContentPane().add(jLabel1);
        jLabel1.setBounds(30, 20, 130, 40);

        jComboBox1.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Livre", "Reservado", "Ocupado", "Todos" }));
        getContentPane().add(jComboBox1);
        jComboBox1.setBounds(170, 20, 110, 40);

        jbConsultarQuarto.setText("Consultar");
        getContentPane().add(jbConsultarQuarto);
        jbConsultarQuarto.setBounds(420, 150, 100, 50);

        jbFechar.setText("Fechar");
        jbFechar.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jbFecharActionPerformed(evt);
            }
        });
        getContentPane().add(jbFechar);
        jbFechar.setBounds(570, 150, 100, 50);

        setBounds(0, 0, 719, 307);
    }// </editor-fold>//GEN-END:initComponents

    private void jbFecharActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jbFecharActionPerformed
        // comando para fechar a tela
        this.dispose();
    }//GEN-LAST:event_jbFecharActionPerformed


    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JComboBox jComboBox1;
    private javax.swing.JLabel jLabel1;
    private javax.swing.JButton jbConsultarQuarto;
    private javax.swing.JButton jbFechar;
    // End of variables declaration//GEN-END:variables
}
